package com.up.upzl.biz.service;

import java.util.Date;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.up.upzl.base.service.BaseService;
import com.up.upzl.biz.domain.User;
import com.up.upzl.biz.domain.User.Platform;

/**
 * 用户管理
 * 
 * @author joker
 *
 */
public interface UserService extends BaseService<User, Long> {

	/**
	 * 跳转用户列表
	 * 
	 * @param account
	 * @param platform
	 * @param page
	 * @return
	 */
	Page<User> findByCondition(String account, Platform platform, Date beginTime, Date endTime, Pageable page);

	/**
	 * 根据用户的账号(手机号)查询用户
	 * 
	 * @param account
	 * @return
	 */
	User findByAccount(String account);
	
	
	User editUser(User user);
}
